package org.jeecg.modules.exPingbiao.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.jeecg.common.api.vo.Result;
import org.jeecg.modules.exPingbiao.domain.vo.ExpertRecommendConfigVO;
import org.jeecg.modules.exPingbiao.entity.ExPingbiaoSectionExpertConfig;
import org.jeecg.modules.exPingbiao.vo.ExPingbiaoExpertRecommendVO;
import org.jeecg.modules.exPingbiao.vo.ExPingbiaoExpertVO;

import java.util.List;

/***
 * 推荐的专家列表
 *
 * @Author lidoudou
 * @Date 2024/11/25 21:31
 */
public interface IExPingbiaoSectionExpertConfigService extends IService<ExPingbiaoSectionExpertConfig> {

    /**
     * 查询专家列表
     *
     * @param sectionId 标段ID
     */
    Result<List<ExPingbiaoExpertVO>> queryExpertList(String sectionId);

    /**
     * 设置推荐的专家ID
     *
     * @param expertId  专家ID
     * @param sectionId 标段ID
     */
    Result<List<ExPingbiaoExpertRecommendVO>> queryRecommendExpertList(String expertId, String sectionId);

    /**
     * 设置推荐的专家ID
     *
     * @param expertId  专家ID
     * @param sectionId 标段ID
     */
    Result<ExpertRecommendConfigVO> gqueryExpertRecommendConfig(String expertId, String sectionId);


    /**
     * 查询专家的签到状态
     *
     * @param expertId
     * @return
     */
    Boolean selectSignInfoByUserId(String expertId, String sectionId);

    Result<String> sign(String expertId, String sectionId);

}
